# 作者: 宇
# 2025年02月20日20时03分27秒
# xiaoming={"name":"小明","age":18,"gender":True,"height":1.75}
xiaoming_dict={"name":"小明"}
print(xiaoming_dict["name"])
print(xiaoming_dict.get("name123"))
xiaoming_dict["age"]=18
xiaoming_dict["name"]="小晓明"
# print(xiaoming_dict)
# xiaoming_dict.pop('name')
print(xiaoming_dict)
for k in xiaoming_dict:
    print(k)

for k,v in xiaoming_dict.items():
    print(k,v)